package com.xiaoruyuan.firstday.domain.web;

/**
 * 响应状态码
 *
 * @author sunfeng
 */
public class ResponseConstants {


    /**
     * 成功状态
     */
    public static final Integer SUCCESS = 0;

    /**
     * 异常状态
     */
    public static final Integer ERROR = 2;

    /**
     * 会话无效状态
     */
    public static final Integer SESSION_INVALIDATE = 3;


    /**
     * 响应成功消息
     */
    public static final String SUCCESS_MESSAGE = "success";
    /**
     * 默认的错误消息
     */
    public static final String DEFAULT_ERROR_MESSAGE = "系统异常";

    private ResponseConstants() {

    }
}
